package com.ibeeking.found.cop.b.rest.service;

import com.ibeeking.found.cop.service.common.param.CopSensitiveWordParam;
import com.ibeeking.found.cop.service.common.query.CopSensitiveWordQuery;
import com.ibeeking.found.cop.service.common.vo.CopSensitiveWordVO;

import java.util.List;

public interface ICopSensitiveWordService {

    /***
     * 查询列表
     */
    List<CopSensitiveWordVO> list(CopSensitiveWordQuery query);

    /***
     * 新增
     */
    Boolean add(CopSensitiveWordParam param);

    /***
     * 修改
     */
    Boolean modify(CopSensitiveWordParam param);

    /***
     * 通过id查询
     */
    CopSensitiveWordVO view(Long id);


    /***
     * 修改状态
     */
    Boolean changeStatus(Long id, Integer status);


    /***
     * 通过id删除
     */
    Boolean del(Long id);
    /***
     * 通知MQ处理
     */
    Integer sendInstructionToMq(Long id, String operType);
    /***
     * 从企业微信同步敏感词
     */
    Integer syncSensitiveWordToWxCp(Integer tenantId, Long id, Boolean deleted);
}
